﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AD.Model
{
  public class ManagerUserMod
    {
      public ManagerUserMod() {
          LogonDate = DateTime.Now;
      }
        public int AutoID { get; set; }
        public string UserName { get; set; }
        public string Passwd { get; set; }
        public DateTime CreateDate { get; set; }
        public bool IsValid { get; set; }
        public DateTime LogonDate { get; set; }
        public string LogonDateTostring {
            get
            {
                string d = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.GetDayName(DateTime.Now.DayOfWeek);
                string msg = "日期：" + LogonDate.ToString("yyyy年MM月dd日") + " "+d;
                return msg;
            }
        }
    }
}
